package com.ljx.itbbs.server.article.service.impl;

import com.ljx.itbbs.server.article.dao.ArticleCategoryUserRelationDao;
import com.ljx.itbbs.server.article.domain.entity.ArticleCategoryUserRelationEntity;
import com.ljx.itbbs.server.article.service.ArticleCategoryUserRelationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ArticleCategoryUserRelationServiceImpl implements ArticleCategoryUserRelationService {

    @Autowired
    private ArticleCategoryUserRelationDao articleCategoryUserRelationDao;

    @Override
    public List<ArticleCategoryUserRelationEntity> getByArticleCategoryIds(List<Long> articleCategoryIds) {
        return articleCategoryUserRelationDao.listByIds(articleCategoryIds);
    }
}
